<div id="rightbar">
	<div id="rightbar-2">
		<div class="title">Users<%= link_to("go to contacts", { :controller => 'contacts' })%></div>
		<% for user in @users %>
			<% content_tag :a, :href => '/contacts', :class=>"lnk" do -%>
				<%= content_tag :img, nil, :src => '/images/icons/icons_71.png', :class => 'icon' -%>
				<%= content_tag :span, truncate(user.fname + " " + user.lname, 18) -%> 
			<% end -%>
		<% end %>
		<% content_tag :div, :class => 'title' do -%>
			<%= content_tag :span, 'Open Items' -%>
			<%= link_to "view more", '/history' -%>
		<% end -%>
		<% content_tag :a, :href => '/projects', :class=>"lnk" do -%>
			<%= content_tag :img, nil, :src => '/images/icons/icons_27.png', :class => 'icon' -%>
			<%= content_tag :span, @projects.length.to_s + " projects" -%> 
		<% end -%>
		<% content_tag :a, :href => '/projects', :class=>"lnk" do -%>
			<%= content_tag :img, nil, :src => '/images/icons/icons_10.png', :class => 'icon' -%>
			<%= content_tag :span, @actions.length.to_s + " actions" -%> 
		<% end -%>
		<% content_tag :a, :href => '/contacts', :class=>"lnk" do -%>
			<%= content_tag :img, nil, :src => '/images/icons/icons_71.png', :class => 'icon' -%>
			<%= content_tag :span, @contacts.length.to_s + " contacts" -%> 
		<% end -%>
		<% content_tag :a, :href => '/finances', :class=>"lnk" do -%>
			<%= content_tag :img, nil, :src => '/images/icons/icons_56.png', :class => 'icon' -%>
			<%= content_tag :span, @funds.length.to_s + " funds" -%> 
		<% end -%>
		<% content_tag :a, :href => '/finances', :class=>"lnk" do -%>
			<%= content_tag :img, nil, :src => '/images/icons/icons_42.png', :class => 'icon' -%>
			<%= content_tag :span, @lineitems.length.to_s + " line items" -%> 
		<% end -%>
	</div>
</div>